package com.neu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Schema(description = "进度记录")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("progress_record")
public class ProgressRecord {
    @TableId(type= IdType.ASSIGN_ID)
    /**
     * recordId
     */
    private String recordId;

    /**
     * 该任务的id
     */
    private String taskId;
    /**
     *此时记录的任务进度
     */
    private Integer progress;
    /**
     * 记录时间
     */
    private LocalDateTime recordTime;
}
